package com.vision.common.bean;

/**
 * @Filename CommonResult.java
 * @Description
 * @Version 1.0
 * @Author zhongc
 * @Email zhong_ch@foxmail.com
 * @History <li>Author: zhongc</li>
 * <li>Date: 2017/5/29</li>
 * <li>Version: 1.0</li>
 * <li>Content: create</li>
 */
public class CommonResult<T> {

    private T Data;

    private boolean success;

    private String desc;

    public CommonResult() {
        this.success = true;
    }

    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
